package com.ldr.custom.spring.orm.demo.dao;

import com.ldr.custom.spring.orm.framework.BaseDaoSupport;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import javax.sql.DataSource;
@Repository
public class MemberDao extends BaseDaoSupport {



    @Override
    @Resource(name = "dataSource")
    protected void setDataSource(DataSource dataSource) {
        System.out.println("数据源配置："+dataSource);
    }
}
